import React from 'react'
import axios from 'axios'
import CSSModules from 'react-css-modules'
import styles from '../../css/index.scss'

class Index extends React.Component{
    componentDidMount(){
        axios.get('/api/index/recommend_list').then(res=>{
            console.log(res)
        })
    }
    render(){
        return (
            <div styleName="hello">
                <div styleName="frame"></div>
                <span>123s</span>
            </div>
        )
    }
}

export default CSSModules(Index, styles);